<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta charset="utf-8" />
		<title>Dashboard - Ace Admin</title>

		<meta name="description" content="overview &amp; stats" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

		<#include "/common/top-common.ftl"/>
	</head>
	<body id="innerBody">
		<!-- 工具栏 -->
		<div id="dictionary_tools" class="toolbox">
			<button id="goback" class="btn btn-white btn-default btn-round"><i class="glyphicon glyphicon-remove-circle"></i>返回</button>
			<button id="formSave" disabled class="btn btn-white btn-default btn-round"><i class="glyphicon glyphicon-floppy-saved"></i>保存</button>
			<button id="formSubmit" class="btn btn-white btn-default btn-round"><i class="glyphicon glyphicon-floppy-saved"></i>提交</button>
		</div>
		<div class="panel panel-default">
			<div class="container">
				<form class="validate" id="preForm" method="post">
					<div class="row">
						<div class="col-sm-3 marginTop5">
							<div class="input-group">
								<label class="input-group-addon">单据编号</label>
								<input type="text" disabled name="pref" value="${po.pref!""}" class="form-control">
								<input type="hidden" id="id" name="id" value="${po.id?c}" class="form-control">
							</div>
						</div>
						<div class="col-sm-3 marginTop5">
							<div class="input-group">
								<label class="input-group-addon"><span class="danger">*</span>购买人</label>
								<input type="text" disabled name="customer" value="${po.customer!""}" class="form-control" required="required" data-msg-required='该字段为必填项'>
							</div>
						</div>
						<div class="col-sm-3 marginTop5">
							<div class="input-group">
								<label class="input-group-addon"><span class="danger">*</span>身份证号</label>
								<input type="text" disabled name="identity" value="${po.identity!""}" class="form-control required" data-msg-required='该字段为必填项'>
							</div>
						</div>
						<div class="col-sm-3 marginTop5">
							<div class="input-group">
								<label class="input-group-addon">购买日期</label>
								<input type="text" disabled name="saleTime" ${po.saleTime?date}   >
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-sm-3 marginTop5">
							<div class="input-group">
								<label class="input-group-addon">手机号码</label>
								<input type="text" disabled name="telPhone" value="${po.telPhone!""}" class="form-control">
							</div>
						</div>
						<div class="col-sm-3 marginTop5">
							<div class="input-group">
								<label class="input-group-addon">备注</label>
								<input type="text" disabled name="remark" value="${po.remark!""}" class="form-control" maxlength="50">
							</div>
						</div>
					</div>
				</form>

			</div>
		</div>
		<div class="panel panel-default publicPanel">
			<h4 class="publicPanelTitle">查询展示面板</h4>
			<div class="dataTables_wrapper form-inline no-footer saasTableWrap">
				<div class="dataTables_filter">
					<label class="tableFilter">
						过滤：
						<input type="search" id="filterName" class="form-control input-sm">
					</label>
					<div class="tableChoose">
						<button disabled class="btn btn-primary" id="addRow">添加行</button>
						<button disabled class="btn btn-primary" id="deleteRow">删除行</button>
						<button class="btn btn-primary" id="filtrkolumn">筛选列</button>
					</div>
				</div>
				<table id="grid-table"></table>

			</div>
		</div>
	</body>
    <script src="/static/js/gsp/hasFlaxEdit.js">
    </script>
</html>
